﻿@model CommerceOne.Widgets.CheckoutStep.CheckoutStepViewModel

@if (Model != null)
{
<!-- Steps -->
<ul class="step" id="order_step">
@foreach (var item in Model.Steps)
{
    if (!string.IsNullOrEmpty(item.Url))
    {
            <li class="step_done"><a href="@item.Url">@item.Name</a> </li>
    }
    else if (item.IsCurrent)
    {
        <li class="step_current">@item.Name </li>
    }
    else if (item.Index == Model.Steps.Count)
    {
        <li class="step_todo" id="step_end">@item.Name </li>
    }
    else
    {
        <li class="step_todo">@item.Name </li>
    }
}
    @*<li class="step_done"><a href="http://livedemo00.template-help.com/prestashop_34916/order.php?back=order.php?step=1">
        Summary</a> </li>
    <li class="step_current">Login </li>
    <li class="step_todo">Address </li>
    <li class="step_todo">Shipping </li>
    <li id="step_end" class="step_todo">Payment </li>*@
</ul>
<!-- /Steps -->
}
